package cn.xiaopengstack.domain.order.model.entity;

import cn.xiaopengstack.domain.order.model.valobj.PayOrderStatusEnumVO;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author jiangyangang
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class OrderEntity {

    private String productId;
    private String productName;
    private String orderId;
    private Date orderTime;
    private BigDecimal totalAmount;
    private PayOrderStatusEnumVO orderStatusVO;
    private String payUrl;
    private String userId;

}
